package com.itheima.mall.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 限时购表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sms_flash_promotion")
public class FlashPromotion {

    @TableId(type= IdType.AUTO)
    private Long id;

    private String title;
    private Date startDate;         //开始日期
    private Date endDate;           //结束日期
    private Integer status;         //上下线状态
    private Date createTime;    //秒杀时间段名称

}
